﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSpotTemplateVMs
{
    public partial class EquipmentSpotTemplateBatchVM : BaseBatchVM<EquipmentSpotTemplate, EquipmentSpotTemplate_BatchEdit>
    {
        public EquipmentSpotTemplateBatchVM()
        {
            ListVM = new EquipmentSpotTemplateListVM();
            LinkedVM = new EquipmentSpotTemplate_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EquipmentSpotTemplate_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EquipmentSpotTemplate._Name")]
        public string Name { get; set; }
        [Display(Name = "_Model._EquipmentSpotTemplate._Description")]
        public string Description { get; set; }
        [Display(Name = "_Model._EquipmentSpotTemplate._SpotCycle")]
        public decimal? SpotCycle { get; set; }
        [Display(Name = "_Model._EquipmentSpotTemplate._SysAuto")]
        public bool? SysAuto { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}